
package com.echo.sdk.im.handler;


import com.echo.sdk.im.model.CIMSession;
import com.echo.sdk.im.model.CIMMsg;
import lombok.extern.slf4j.Slf4j;

/**
 * @author chentl
 * @version V1.0
 * @Project IM-SDK
 * @Title HeartbeatHandler.java
 * @Description 心跳handler，主要是让netty重置 channel 的空闲时间
 * @Package com.whdsj.sdk.im.server.handler
 * @date 2020/9/14 11:51 上午
 */
@Slf4j
public class HeartbeatHandler implements CIMRequestHandler {

    @Override
    public void process(CIMSession session, CIMMsg cimMsg) {
        log.info("[server nid:{}]客户端心跳回应:{}", session.getNid(), cimMsg.getContent());
    }
}
